package com.acme.bankapp.exceptions;

import com.acme.bankapp.domain.account.Account;

public class OverDraftLimitExceededException extends NotEnoughFundsException {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1863523558018947123L;
	private Account account;

	public OverDraftLimitExceededException() {
		super();
	}

	public OverDraftLimitExceededException(double amount) {
		super(amount);
	}
	
	public OverDraftLimitExceededException(double amount, Account account) {
		super(amount);
		this.account = account;
	}

	public OverDraftLimitExceededException(String message, Throwable cause,
			boolean enableSuppression, boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
	}

	public OverDraftLimitExceededException(String message, Throwable cause) {
		super(message, cause);
	}

	public OverDraftLimitExceededException(String message) {
		super(message);
	}

	public OverDraftLimitExceededException(Throwable cause) {
		super(cause);
	}

	public Account getAccount() {
		return account;
	}
}
